package com.wingsboat.factory.support;

/**
 * FactoryBean 工厂
 * @param <T>
 */
public interface FactoryBean<T> {
    T getObject() throws Exception;

    Class<?> getObjectType();

    default boolean isSingleton() {
        return true;
    }
}
